<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #d1 {
            width: 200px;
            height: 200px;
            background-color: red;
            margin-top: 100px;
            margin-left: 100px;
            overflow: hidden;
        }
        #d2 {
            width: 100px;
            height: 100px;
            background-color: blue;
            margin-top: 50px;
            margin-left: 10px;
        }
    </style>
</head>
<body>
<div id="d1">
<div id="d2">

</div>
</div>
</body>
</html>